﻿#ifndef IMPORTCFGDIALOG_H
#define IMPORTCFGDIALOG_H

#include <QString>
#include <QDialog>
#include <QFileDialog>
#include <QDir>
#include <datastruct.h>
#include <QDebug>
#include <QFileInfo>
#include <QMessageBox>
#include "a661bridge.h"
#include "findandparsersgfx.h"
#include "writera661.h"

using namespace importCfgDataStruct;

using namespace etpXmlDataStruct;

namespace Ui {
class importCfgDialog;
}

class importCfgDialog : public QDialog
{
    Q_OBJECT

public:
    explicit importCfgDialog(QWidget *parent = nullptr, const QString& version = "");
    ~importCfgDialog();

private slots:
    void on_etp_pushButton_clicked();

    void on_sdy_pushButton_clicked();

    void on_ok_pushButton_clicked();

    void on_cancel_pushButton_clicked();

private:
    Ui::importCfgDialog *ui;

    QString scadeVersion;  // 存储 SCADE 版本信息

    importCfgData importCfg;

    void initialize();
};

#endif // IMPORTCFGDIALOG_H
